
using System;
using ERP_RORZE_TOOL.DBAccess;

namespace ERP_RORZE_ORDER.Common.ValueObject
{
    [Serializable]
	public class OrderInput : BaseDAO
	{
			#region Members
			protected int iD;
			protected string orderID;
			protected string productID;
			protected DateTime deadline;
			protected int quantity;
			protected decimal exchangeRate;
			protected string purchaseID;
			protected string pGroupID;
			protected string status;
            protected string note;
            protected string tempId;
			#endregion
			#region Public Properties

			/// <summary>
			/// Property relating to database column ID(int,not null)
			/// </summary>
			public int ID
			{
				get { return iD; }
				set { iD = value; }
			}

			/// <summary>
			/// Property relating to database column OrderID(nvarchar(50),null)
			/// </summary>
			public string OrderID
			{
				get { return orderID; }
				set { orderID = value; }
			}

			/// <summary>
			/// Property relating to database column ProductID(nvarchar(50),null)
			/// </summary>
			public string ProductID
			{
				get { return productID; }
				set { productID = value; }
			}

			/// <summary>
			/// Property relating to database column Deadline(datetime,null)
			/// </summary>
			public DateTime Deadline
			{
				get { return deadline; }
				set { deadline = value; }
			}

			/// <summary>
			/// Property relating to database column Quantity(int,null)
			/// </summary>
			public int Quantity
			{
				get { return quantity; }
				set { quantity = value; }
			}

			/// <summary>
			/// Property relating to database column ExchangeRate(decimal(18,4),null)
			/// </summary>
			public decimal ExchangeRate
			{
				get { return exchangeRate; }
				set { exchangeRate = value; }
			}

			/// <summary>
			/// Property relating to database column PurchaseID(nvarchar(50),null)
			/// </summary>
			public string PurchaseID
			{
				get { return purchaseID; }
				set { purchaseID = value; }
			}

			/// <summary>
			/// Property relating to database column PGroupID(nvarchar(50),null)
			/// </summary>
			public string PGroupID
			{
				get { return pGroupID; }
				set { pGroupID = value; }
			}

			/// <summary>
			/// Property relating to database column Status(nvarchar(255),null)
			/// </summary>
			public string Status
			{
				get { return status; }
				set { status = value; }
			}

			/// <summary>
			/// Property relating to database column Note(nvarchar(255),null)
			/// </summary>
			public string Note
			{
				get { return note; }
				set { note = value; }
			}

            public string TempId
            {
                get
                {
                    return tempId;
                }
                set
                {
                    tempId = value;
                }
            }
			#endregion
	}
}
